package chixing.day04;

public class Job {
    private int jobId;//职务id
    private String jobName;//职务名称
    private String jobDuty;//职责
    private double jobMinSalary;//薪资
    private double jobMaxSalary;
    private String jobCity;//城市

    public void setJobId(int jobId){
        this.jobId=jobId;
    }
    public int getJobId(){
        return this.jobId;
    }
    public void setJobName(String jobName){
        this.jobName=jobName;
    }
    public String getJobName(){
        return this.jobName;
    }
    public void setJobDuty(String jobDuty){
        this.jobDuty=jobDuty;
    }
    public String getJobDuty(){
        return this.jobDuty;
    }
    public void setJobMinSalary(double jobMinSalary){
        this.jobMinSalary=jobMinSalary;
    }
    public double getJobMinSalary(){
        return this.jobMinSalary;
    }
    public void setJobMaxSalary(double jobMaxSalary){
        this.jobMaxSalary=jobMaxSalary;
    }
    public double getJobMaxSalary(){
        return this.jobMaxSalary;
    }
    public void setJobCity(String jobCity){
        this.jobCity=jobCity;
    }
    public String getJobCity(){
        return this.jobCity;
    }

    public String toString(){
        return jobId+"\n" +
                "职务名称:"+jobName+"\n" +
                "植物职责:"+jobDuty+"\n" +
                "期望最低薪资:"+jobMinSalary+"\n" +
                "期望最高薪资:"+jobMaxSalary+"\n" +
                "期望工作城市:"+jobCity;
    }
}
